package pojo;

import org.apache.ibatis.type.Alias;

//注解起别名方便读取
@Alias("Count")
public class Count {
    private int id;
    private String project;
    private String type;
    private String money;
    private String date;

    public Count(int id, String project, String type, String money, String date) {
        this.id = id;
        this.project = project;
        this.type = type;
        this.money = money;
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Count{" +
                "id=" + id +
                ", project='" + project + '\'' +
                ", type='" + type + '\'' +
                ", money='" + money + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
